﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintOrder.aspx.cs" Inherits="ZoomLaCMS.BU.Order.PrintOrder" MasterPageFile="~/Common/Master/Empty.master" %>
<asp:Content runat="server" ContentPlaceHolderID="head"><title>订单打印</title></asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Content">
<link href="/App_Themes/V3.css" rel="stylesheet" />
<div class="plogo">
<div class="container">
    <h1><img src="<%=Call.LogoUrl %>" /><span><%=Call.SiteName %>订单管理系统</span><div class="clearfix"></div></h1>
</div>
</div>
<div class="container">
    <div class="poinfo">
        <div class="pull-left">订单编号：<asp:Label runat="server" ID="OrderNo_T"/></div>
        <div class="pull-right">订购时间： <asp:Label runat="server" ID="AddTime_T"/></div>
        <div class="clearfix"></div>
    </div>
    <div class="inforow">客户姓名：<asp:Label runat="server" ID="ReUserName_L"/></div>
    <div class="inforow">联系方式：<asp:Label runat="server" ID="Mobile_L"/></div>
    <div class="inforow">客户地址：<asp:Label runat="server" ID="Address_L"/></div>
    <hr />
    <div class="prolist">
        <table class="table table-bordered table-striped">
            <tr><td class="td_l">商品编号</td><td>商品名称</td><td>数量</td><td>商品金额</td></tr>
            <asp:Repeater runat="server" ID="RPT" EnableViewState="false">
                <ItemTemplate>
                   <tr><td><%#Eval("ProID") %></td><td><%#Eval("ProName") %></td><td><%#Eval("ProNum") %></td><td><%#Eval("AllMoney","{0:f2}") %></td></tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        <div class="remind_div pull-left">
            <asp:Label ID="Remind_L" runat="server" />
        </div>
        <div class="price_div">
            <div><span class="sp_l">商品总金额：</span>
                 <span class="sp_r"><asp:Label runat="server" ID="P_Pro_L"/></span>
            </div>
            <div><span class="sp_l">优惠券：</span><span class="sp_r"><asp:Label runat="server" ID="P_Arrive_L" Text="尚未支付"/></span></div>
            <div><span class="sp_l">使用积分：</span><span class="sp_r"><asp:Label runat="server" ID="P_Point_L" Text="尚未支付"/></span></div>
            <div><span class="sp_l">运费：</span>
                 <span class="sp_r"><asp:Label runat="server" ID="P_Exp_L"/></span>
            </div>
            <div>
                <span class="sp_l">实付：</span>
                <span class="sp_r"><strong><i class="fa fa-rmb"></i><asp:Label runat="server" ID="TotalMoney_L"/></strong></span>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="text-right margin_t5 opbtns noprint">
            <a href="javascript:;" class="btn btn-lg btn-primary" onclick="window.print();"><i class="fa fa-print"></i> 打印</a>
        </div>
    </div>
</div>
<div class="copy text-center">
<%Call.Label("{$Copyright/}"); %>
</div>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Script">
<style media="print" type="text/css">
    .noprint {display:none;}
</style>
<style type="text/css">
hr {margin-top:5px;margin-bottom:5px;height:1px;background-color:#ddd;}
.plogo { padding-top:10px; padding-bottom:10px; border-bottom:1px solid #ccc; }
.plogo h1 { font-size:1em;}
.plogo h1 img { float:left; height:4em; width:17.25em;}
.plogo span { display:block; float:left; margin-left:10px; font-size:2.7em;}
.poinfo {border-bottom:1px solid #ddd;padding-top:10px;padding-bottom:10px;}
.inforow {height:30px;line-height:30px;}
.price_div {width:300px;float:right;}
.sp_l {display:inline-block;text-align:right;width:120px;height:25px;line-height:25px;}
.sp_r {display:inline-block;text-align:right;width:170px;height:25px;line-height:25px;}
.opbtns {border-top:1px solid #ddd; padding:5px 0;}
.remind_div{width:60%;padding:5px;}
.copy { border-top:1px solid #ccc;}
</style>
</asp:Content>